package com.fs.service;

import com.fs.dto.OrderCreateDTO;
import com.fs.vo.OrderUserVO;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface OrderService {

    String createOrder(OrderCreateDTO dto, Long userId);

    List<OrderUserVO> listUserOrders(Integer status, Long userId);

    OrderUserVO getOrderDetail(Long orderId, HttpServletRequest request);

    String payOrder(Long orderId, HttpServletRequest request);

    String cancelOrder(Long orderId, HttpServletRequest request);

    String confirmOrder(Long orderId, HttpServletRequest request);
}
